package com.example.gateway.designPattern.decorator;

import lombok.Data;
import com.example.gateway.designPattern.decorator.Decorator;
import com.example.gateway.designPattern.decorator.Drink;

/**
 * @ClassName: Milk
 * @Description:
 * @Author: YourName
 * @Date: 2024/12/31
 */


public class Milk extends Decorator {

    public Milk(Drink drink) {
        super(drink);
        super.setDescription("Milk");
        super.setPrice(2.0f);
    }
}
